let route = [
  {
    path: '/',
    redirect: '/Dashboard'
  },
  {
    //控制台
    path: '/Dashboard',
    component: () => import('@/views/乐涛/Dashboard'),
    redirect: '/Dashboard/Default',
    meta: {
      title: '控制台',
      IsSlid: true,
      IconCls: 'el-icon-s-home'
    },
    children: [
      {
        path: 'Default',
        component: () => import('@/views/乐涛/Dashboard/Default'),
        meta: {
          title: '首页',
          IsSlid: true,
          IconCls: 'el-icon-s-flag'
        }
      }
    ]
  },
  {
    //用户个人中心
    path: '/User',
    component: () => import('@/views/乐涛/User'),
    meta: {
      title: '用户中心',
      IsSlid: false,
      IconCls: null
    },
    redirect: '/User/Profile',
    children: [
      {
        //用户个人中心
        path: 'Profile',
        component: () => import('@/views/乐涛/User/Profile'),
        meta: {
          title: '用户面板',
          IsSlid: false,
          IconCls: null
        }
      }
    ]
  },
  {
    //角色管理
    path: '/Role',
    component: () => import('@/views/乐涛/Role'),
    meta: {
      title: '角色管理',
      IsSlid: true,
      IconCls: "yueticon icon-jiaoseguanli"
    },
    redirect: '/Role/Name',
    children: [
      {
        //角色列表
        path: 'Name',
        component: () => import('@/views/乐涛/Role/Name'),
        meta: {
          title: '角色列表',
          IsSlid: true,
          IconCls: "yueticon icon-liebiao"
        }
      },
      {
        //添加/编辑角色
        path: 'NameEdit',
        component: () => import('@/views/乐涛/Role/NameEdit'),
        meta: {
          title: '角色管理',
          IsSlid: false,
          IconCls: "yueticon icon-liebiao"
        }
      },
      {
        //权限设置角色
        path: 'List',
        component: () => import('@/views/乐涛/Role/List'),
        meta: {
          title: '角色设置',
          IsSlid: false,
          IconCls: "yueticon icon-liebiao"
        }
      }
    ]
  },
  {
    //系统管理
    path: '/System',
    component: () => import('@/views/乐涛/System'),
    meta: {
      title: '系统管理',
      IsSlid: true,
      IconCls: "yueticon icon-jiaoseguanli"
    },
    redirect: '/System/Menu',
    children: [
      {
        //菜单管理
        path: 'Menu',
        component: () => import('@/views/乐涛/System/Menu/Menu'),
        meta: {
          title: '菜单管理',
          IsSlid: true,
          IconCls: "yueticon icon-jiaoseguanli"
        }
      },
      {
        //菜单管理
        path: 'MenuEdit',
        component: () => import('@/views/乐涛/System/Menu/MenuEdit'),
        meta: {
          title: '菜单管理',
          IsSlid: false,
          IconCls: "yueticon icon-jiaoseguanli"
        }
      },
      {
        //类型管理
        path: 'Type',
        component: () => import('@/views/乐涛/System/Type/Type'),
        meta: {
          title: '类型管理',
          IsSlid: true,
          IconCls: "yueticon icon-jiaoseguanli"
        }
      },
      {
        //类型管理
        path: 'TypeEdit',
        component: () => import('@/views/乐涛/System/Type/TypeEdit'),
        meta: {
          title: '类型管理',
          IsSlid: false,
          IconCls: "yueticon icon-jiaoseguanli"
        }
      }
    ]
  }
]

export default route